#include "Camera.h"
#include "Timer.h"
#include "Matrix4.h"


Camera::Camera()
{ 
    m_up.SetStats(0,1,0);
}

Camera::Camera(const Vec3f& pos, const Vec3f& look, const Vec3f& up) : 
m_pos(pos), 
m_look(look), 
m_up(up)
{}

void Camera::Update()
{
    m_pos += m_vel * TheTimer::Instance()->GetDtSeconds();
}

void Camera::Prepare()
{
}

void Camera::SetVelocity(const Vec3f& vel)
{
    m_vel = vel;
}
void Camera::SetPosition(const Vec3f& pos)
{
    m_pos = pos;
}
void Camera::SetLook(const Vec3f& look)
{
    m_look = look;
}


const Vec3f& Camera::GetPos() const
{
    return m_pos;
}

void Camera::Draw() const
{
}
